package com.ma;

import com.ma.common.config.AppProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableConfigurationProperties({AppProperties.class, AppProperties.ServiceProperties.class, AppProperties.ValueProperties.class})
@SpringBootApplication
@EnableFeignClients // 开启feign客户端
public class ConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }

}
